import baseUrl from './base-url-config'

const { product: prefix } = baseUrl

export default {
  // 查询
  getDicDataAPI: {
    url: `${prefix}/edc/sys/dict/page`,
    method: 'GET',
  },
  // 新建
  createDicDataAPI: {
    url: `${prefix}/edc/sys/dict/create`,
    method: 'POST',
  },
  // 修改
  editDicDataAPI: {
    url: `${prefix}/edc/sys/dict/update`,
    method: 'PUT',
  },
  // 删除
  deleteDicDataAPI: {
    url: `${prefix}/edc/sys/dict/delete`,
    method: 'DELETE',
  },
  // 字典类型列表
  pageByTypeCodeDicDataAPI: {
    url: `${prefix}/edc/sys/dict/pageByTypeCode`,
    method: 'GET',
  },
}
